<script setup lang="ts">
import { useSystemInfo } from "./stores/systemInfo";
import { useUser } from "./stores/user";
import {wxlogin} from '@/api/auth'
const systemInfo = useSystemInfo();
const { getUserInfo } = useUser()
onLaunch(() => {
  wxlogin().then(()=>{
   return getUserInfo();
  })
  systemInfo.calcNavBarInfo();
})
onShow(() => {
  console.log('App Show')
})
onHide(() => {
  console.log('App Hide')
})

</script>
<style lang="scss">
@import './style.scss';
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
</style>
